//mysql的链接工具引进来
const mysql=require('mysql');
//配置mysql
const db=mysql.createConnection({
	host:'localhost',
	port:3306,
	user:'root',
	password:'hyx123456',
	database:'dining',
	timezone: "08:00"
})
//把db这个模块导出
module.exports=db;